<{extends file="../Share/list.tpl"}>
<{block name="content"}>
    <{*<{$yhzxx = YHZXX::create($params['YHZXX_BH'])}>*}>
    <div class="list-view" id="CDXX_List" data-url="<{'CDXX_Query'|U}>" data-type="post">
        <div class="list-view-operation-top clearfix">
            <div class="list-view-add">
                <span class="button" data-role="view" data-url="<{'CDXX_Insert'|U}>" data-type="post" data-message="">添加</span>
                <{*<span class="button" data-role="refresh">刷新</span>*}>
                <{*<span class="button" data-role="back" data-parent="1">返回</span>*}>
            </div>
            <div class="list-view-search" data-role="head">
                <span class="remark">
                    <{*用户组：<{$yhzxx->YHZXX_MC}>*}>
                </span>
                <{*<input type="hidden" name="YHZXX_BH" value="<{$params['YHZXX_BH'] }>"/>*}>
                <label>模糊查询</label>
                <input type="text" class="search-input" title="按菜单信息名称、备注进行模糊查询" id="CDXX_MHCX" name="MHCX"/>
                <span class="space"></span>
                <{$yhzxx= YHZXX::query()}>
                <{'YHZXX_BH'|html_dropdownlist:$yhzxx.DataList:null:'YHZXX_BH':'YHZXX_MC':'请选择用户组信息...'}>
                <span class="space"></span>
				<span class="button" data-role="refresh">搜索</span>
            </div>
        </div>
        <div data-role="target">
            <{include file="CDXX_Query.tpl"}>
        </div>
    </div>
<{/block}>
<{block name="scripts"}>
    <script>
        $(function(){
            //在模糊查询输入框中按回车键，自动刷新
            $("#CDXX_MHCX").keypress(function (event) {
                if (event.keyCode == 13) {
                    $(this).siblings("span[data-role=refresh]").trigger("click");
                }
            });
            $("#CDXX_List").listView();
        });
    </script>
<{/block}>
<{block name="nav"}>
    <a href="<{'CDXX_Index'|U}>" target="_self" >菜单信息</a>
<{/block}>
<{block name="style"}><{/block}>

